package com.seashop.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author moredln
 * @desc 登陆请求参数封装
 * @date 2020-08-06 13:57
 */
@Data
@ApiModel(value = "登陆请求参数")
public class LoginRequestParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "国家编码(TH:泰国;IN:印尼;ZH:中国;US:美国;UR:巴基斯坦;)", required = true)
    @NotBlank
    private String countryCode;

    @ApiModelProperty(value = "地区编码(66:泰国;62:印尼;86:中国;1:美国;03:巴基斯坦;)", required = true)
    @NotBlank
    private String areaCode;

    @ApiModelProperty(value = "电话号码", required = true)
    @NotBlank
    private String mobile;

    @ApiModelProperty(value = "验证码", required = true)
    @NotBlank
    private String verifyCode;

    @ApiModelProperty(value = "推荐码")
    private String referralCode;

    @ApiModelProperty(value = "平台来源(wap、android、ios)", required = true)
    @NotBlank
    private String platform;

    @ApiModelProperty(value = "语言类型(TH:泰文;IN:印尼文;ZH:中文;EN:英文)", required = true)
    @NotBlank
    private String languageType;

}
